import Vue from 'vue'
import Router from 'vue-router'
import Homepages from '@/pages/home/home';
import List from '@/pages/list/List';
import Login from '@/pages/user/Login';
import Register from '@/pages/user/Register';
// import detailpages from '@/pages/home/detailpages';
// import Dpages from '@/pages/home/dpages';


Vue.use(Router)


export default new Router({
  routes: [
    {
      path: '/',
      name: 'Homepages',
      component: Homepages,
    },
	{
	  path: '/list',
	  name: 'List',
	  component: List,
	},
	{
		path: '/login',
		name: 'Login',
		component: Login,
	},
	{
		path: '/register',
		name: 'Register',
		component: Register,
	}
  ],
});
